package com.csxy.dyq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.dyq.entity.EduSubject;
import com.csxy.dyq.entity.vo.OneSubject;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface EduSubjectService extends IService<EduSubject> {
    //获取所有分类，用来显示
    List<OneSubject> getAllOneTwoSubject();
    //读取excel文件内容，并保存到数据库
    void saveSubject(MultipartFile file, EduSubjectService eduSubjectService);
}
